-
Home
-
Directorist: AI-Powered Business Directory Plugin with Classified Ads Listings
-
8.5.1 (latest)
-
Code
-
Classes
- Listings_Controller
| Total Complexity |
137 |
| Dependencies |
6 |
| Dependents |
1 |
| Total lines |
1,481 |
| Lines of code |
1,196 |
| Logical lines of code |
390 |
| Comment lines |
176 |
| Methods |
19 |
| Properties |
2 |
Methods 19
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| get_listing_data() |
D |
25 |
50 |
147 |
| prepare_objects_query() |
D |
21 |
39 |
234 |
| get_item_schema() |
C |
20 |
1 |
407 |
| get_images() |
A |
46 |
9 |
38 |
| get_collection_params() |
A |
34 |
1 |
127 |
| get_items() |
S |
47 |
6 |
35 |
| get_related_listings_ids() |
S |
44 |
5 |
44 |
| get_listing_social_links() |
S |
57 |
6 |
17 |
| get_item() |
S |
58 |
4 |
13 |
| prepare_links() |
S |
54 |
3 |
22 |
| register_routes() |
S |
46 |
1 |
46 |
| get_taxonomy_terms() |
S |
58 |
3 |
15 |
| get_listings() |
S |
57 |
2 |
16 |
| prepare_item_for_response() |
S |
62 |
2 |
10 |
| add_post_meta_fields() |
S |
82 |
1 |
3 |
| get_directory_id() |
S |
75 |
1 |
4 |
| get_plan_id() |
S |
78 |
1 |
3 |
| get_orderby_possibles() |
S |
65 |
1 |
10 |
| delete_post() |
S |
72 |
1 |
5 |